EMT Practice Test

1. Question Content...


Question List

Question1: Which of the following is an example of how continuous testing facilitates continuous delivery?

Question2: You are testing a new feature in the current iteration. The feature is supposed to take the input of a name and return the number of characters in the name. This information is used by another feature that will determine the size needed on a form. The acceptance criteria state the following
1) a name of up to 30 characters should be accepted
2) standard error processing should be in place to limit user errors
The developers are using TDD and you have asked to see their tests. This is what they gave you

When yourun your manual tests you are finding that when you use the following inputs you get the associated results:
From these results what can you conclude about the TDD process?

Question3: A developer has implemented a class that calculates if a given date is a leap year. The definition for the leap year is given:
Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100, but these centurial years are leap years if they are exactly divisible by 400.
- divisible by 4
- but not by 100
- years divisible by 400 are leap anyway
You have already thought about it and started with the first test class; the test class looks like (pseudo JavaScript used here):
// LeapYear.spec.js
describe('Leap year calculator', () => {
it('should consider 1996 as leap', () => {
expect(LeapYear.isLeap(1996)).toBe(true);
});
});
What would now be your next step to proceed as efficient as possible, to validate the correctness of the class above?

Question4: BDD and ATDD are most commonly used with which test approach?

Question5: You have been asked to supply the data file for a data-driven test automation script that will be used to test the following story:
As a customer I want to be told how many items I need to purchase, so I can receive free shipping You have been told the automation will verify whether or not the free shipping message is displayed. Which of the following columns should appear in your data file to support the automated testing of this story?

Question6: You are working for an organization that has implemented CI and is struggling to get the automated tests to run on each build because of time limitation. On average, there are three ad hoc builds per day one scheduled build overnight one scheduled build on Friday nights and one build that is conducted on the Thursday night before the end of the sprint on the second Friday. There are four sets of tests high priority medium priority low priority, nonfunctional. The non-functional tests must be run in the integrated stage environment whereas the other tests can be run in any of the test environments In addition to just the execution time of the tests it has also been noted that reviewing the results of the tests take about two hours per set of tests Given this information which of the following is the most efficient and effective approach to test automation execution?

Question7: You are developing a test automation suite for an agile project and want to include as much coverage as possible Unfortunately one of the critical web services (e-commerce checkout) is not scheduled for completion until the later iterations Which of the following would be a good option to allow you to progress with your end-to-end test automation without creating too much extra work?

Question8: Consider the following section of pseudocode

Display "You exceeded the number of tries to enter a password. Your account is now locked. Call customer.

For this section of code, which of the following issues should be identified during a code review?
1. Variables have not been properly defined with meaningful names
2. There are unused variables defined
3. Divisors are not tested for zero
4. Loop counters are not properly initialized
5. There are endless loops
6. There are statements within the loop that should be outside the loop

Question9: As a tester on an Agile team you have been given the following user story to analyze As a medical professional I want to see the availability of operating rooms So I can schedule surgeries as needed You have talked with the product owner and she expressed some concern over the term "medical professional" You have looked into this and found that doctors want to schedule their surgeries but the hospital administrator does not want them to have this ability At this point what should you do to try to resolve this issue?

Question10: The challenges described below are of test automation in agile settings or agile projects. Which is the correctly described one?

Question11: Summarize the characteristics of test automation in relation to development projects.

Question12: "As the leader of the marketing department, I want to have a content management system so that my employees can edit and provide quality content to the readers" Which of the following requirements engineering techniques would be the MOST effective for identifying and prioritizing user stories for the given Epic?

Question13: You have been working to defineacceptance tests for a story.You think this will help tailor your testing.You have asked the productowner to be involved as well.You are currently looking at this story:
As a pet owner
I want to purchase food online
So that it can be delivered to my house when I need it
Which of the following is the preferred way to solicit information from the product owner to better understand what will be "acceptable?